package com.yanqu.road.entity.log.chefduel;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

@FieldTypeAnnotation(tableName = "t_l_chef_duel_phase1_skill",desc = "厨神争霸一阶段技能变更日志",autoSave = true,uploadCk = true,dataUpload = true,eventName = "hotelone_taleupg")
public class LogChefDuelPhase1Skill extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动ID", isIndex = true, dataAttribute = "activityid")
    private int activityId;
    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "天赋技能id 0是洗点",dataAttribute = "belong_id")
    private int skillId;
    @FieldTypeAnnotation(desc = "变更类型 1加点 2重置",dataAttribute = "change_type")
    private int type;
    @FieldTypeAnnotation(desc = "升级前等级 重置就是技能点",dataAttribute = "before_level")
    private int beforeLevel;
    @FieldTypeAnnotation(desc = "升级后等级 重置就是技能点",dataAttribute = "after_level")
    private int afterLevel;
    @FieldTypeAnnotation(desc = "变更前评分",dataAttribute = "before_score")
    private long beforeScore;
    @FieldTypeAnnotation(desc = "变更后积分",dataAttribute = "after_score")
    private long afterScore;


    @Override
    public long getUserId() {
        return userId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getSkillId() {
        return skillId;
    }

    public void setSkillId(int skillId) {
        this.skillId = skillId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getBeforeLevel() {
        return beforeLevel;
    }

    public void setBeforeLevel(int beforeLevel) {
        this.beforeLevel = beforeLevel;
    }

    public int getAfterLevel() {
        return afterLevel;
    }

    public void setAfterLevel(int afterLevel) {
        this.afterLevel = afterLevel;
    }

    public long getBeforeScore() {
        return beforeScore;
    }

    public void setBeforeScore(long beforeScore) {
        this.beforeScore = beforeScore;
    }

    public long getAfterScore() {
        return afterScore;
    }

    public void setAfterScore(long afterScore) {
        this.afterScore = afterScore;
    }

    public LogChefDuelPhase1Skill(int activityId, long userId, int skillId, int type, int beforeLevel, int afterLevel, long beforeScore, long afterScore) {
        this.activityId = activityId;
        this.userId = userId;
        this.skillId = skillId;
        this.type = type;
        this.beforeLevel = beforeLevel;
        this.afterLevel = afterLevel;
        this.beforeScore = beforeScore;
        this.afterScore = afterScore;
    }
}
